package com.yanqu.road.entity.activity.deepfishing;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.DataStatus;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_u_deep_fishing_fish_data",desc = "深海觅诊图鉴数据")
public class DeepFishingUserFishData extends DataObject {
    @FieldTypeAnnotation(select = true,update = true,desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(select = true,update = true,desc = "玩家id")
    private long userId;
    @FieldTypeAnnotation(desc = "鱼id")
    private int fishId;
    @FieldTypeAnnotation(desc = "吊起数量")
    private int num;
    @FieldTypeAnnotation(desc = "最重")
    private int heaviestWeight;
    @FieldTypeAnnotation(desc = "红点")
    private boolean isReadSample;


    public int getActivityId() {
        return activityId;
    }
    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }
    }

    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public int getFishId() {
        return fishId;
    }
    public void setFishId(int fishId) {
        if (this.fishId != fishId) {
            this.fishId = fishId;
            setOp(DataStatus.Update);
        }
    }

    public int getNum() {
        return num;
    }
    public void setNum(int num) {
        if (this.num != num) {
            this.num = num;
            setOp(DataStatus.Update);
        }
    }

    public int getHeaviestWeight() {
        return heaviestWeight;
    }
    public void setHeaviestWeight(int heaviestWeight) {
        if (this.heaviestWeight != heaviestWeight) {
            this.heaviestWeight = heaviestWeight;
            setOp(DataStatus.Update);
        }
    }

    public boolean getIsReadSample() {
        return isReadSample;
    }
    public void setIsReadSample(boolean isReadSample) {
        if (this.isReadSample != isReadSample) {
            this.isReadSample = isReadSample;
            setOp(DataStatus.Update);
        }
    }

}
